home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
mardek_rpg.swf
/
scripts
/
frame_41
/
DoAction.as
Wrap
Text File
|
2011-09-19
|
13KB
|
161 lines
function §\x01\x02§()
{
return 16 % 511 * 5;
}
var §\x01§ = 94 + "\x01\x02"();
while(true)
{
if(eval("\x01") == 174)
{
set("\x01",eval("\x01") - 142);
§§push(true);
}
else if(eval("\x01") == 32)
{
set("\x01",eval("\x01") + 690);
if(function §\x01\x02§()
{
return 16 % 511 * 5;
})
{
set("\x01",eval("\x01") - 619);
}
}
else
{
if(eval("\x01") == 722)
{
set("\x01",eval("\x01") - 619);
play();
break;
}
if(eval("\x01") == 427)
{
set("\x01",eval("\x01") - 295);
§§push("\x0f");
§§push(1);
}
else
{
if(eval("\x01") == 409)
{
set("\x01",eval("\x01") - 6);
map = [[2,2,2,1,2,2,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,1],[2,2,2,3,2,2,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,5,1,1,1,1],[2,2,4,3,4,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[2,1,5,3,5,1,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,11,9,8,8,9,11,9,9,9,9,9,9,9,9,9,9,9,9,9,9,0],[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,1,1,1,1,1,1,5,5,5,1,1,1,1,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0],[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,6,13,7,1,0,0,0,0,0,1,6,13,7,1,0,0,0,0,0,1,6,13,7,1,0,0,0,0,0,1,6,7,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0],[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0]];
tileset = "t_sewer";
area = "sewer2";
areaname = "Goznor Sewer L2";
ambience = null;
A_sprites = [{name:"To Catacombs",model:"DOORY",x:3,y:0,dest:["crypt1",19,49]},{name:"To L1",model:"DOORY",x:39,y:17,dir:"s",dest:["sewer1",14,2]}];
areaLoot = [{x:6,y:2,amount:1,item:"Silver Sword"},{x:4,y:16,amount:5,item:"Antidote"},{x:28,y:48,amount:8,item:"HolyWater"},{x:60,y:33,amount:1,item:"MoonstoneRing"},{x:52,y:22,amount:6,item:"Potion"},{x:53,y:32,amount:1,item:"Kettle Hat"},{x:21,y:35,amount:1,item:"RingOfSPR"},{x:14,y:22,amount:1,item:"BalloonJuice"},{x:13,y:22,amount:1,item:"Copper Breastplate"},{x:14,y:32,type:"gold",amount:16},{x:13,y:32,amount:1,item:"RingOfVIT"}];
foes = [["Miasmurine","Miasmurine",null,null,"DUO"],["Miasmurine","Miasmurine","Miasmurine",null,"TRIO"],["Pestilent","Miasmurine","Miasmurine",null,"TRIO"],["PoorGoblin","Miasmurine",null,null,"DUO"],["PoorGoblin","Miasmurine","Miasmurine",null,"TRIO"],["Ooze","Ooze",null,null,"DUO"],["Ooze","Zombie","Pestilent",null,"TRIO"],["Ooze","CorpseDrinker","CorpseDrinker",null,"TRIO"],["PoorGoblin","PoorGoblin",null,null,"DUO"],["Pestilent","Pestilent",null,null,"DUO"],["Pestilent","Pestilent","Pestilent",null,"TRIO"],["Pestilent","Zombie","Pestilent",null,"TRIO"],["Zombie","Pestilent","Zombie",null,"TRIO"],["Zombie","Pestilent","Zombie","Pestilent","DEFAULT"],["Zombie","Zombie",null,null,"DUO"],["Zombie","Zombie","Zombie",null,"TRIO"]];
btlChance = 4;
minSteps = 5;
levelrange = [5,8];
musicTrack = "Dungeon1";
AreaSetup({WARP:1});
break;
}
if(eval("\x01") == 973)
{
set("\x01",eval("\x01") - 564);
}
else if(eval("\x01") == 103)
{
set("\x01",eval("\x01") + 160);
}
else if(eval("\x01") == 556)
{
set("\x01",eval("\x01") - 293);
}
else
{
if(eval("\x01") == 403)
{
set("\x01",eval("\x01") - 403);
break;
}
if(eval("\x01") == 749)
{
set("\x01",eval("\x01") + 178);
if(function §\x01\x02§()
{
return 16 % 511 * 5;
})
{
set("\x01",eval("\x01") - 204);
}
}
else if(eval("\x01") == 263)
{
set("\x01",eval("\x01") + 486);
§§push(true);
}
else if(eval("\x01") == 411)
{
set("\x01",eval("\x01") - 158);
§§push(!function §\x01\x02§()
{
return 16 % 511 * 5;
});
}
else
{
if(eval("\x01") == 927)
{
set("\x01",eval("\x01") - 204);
§§push(§§pop() + function §\x01\x02§()
{
return 16 % 511 * 5;
});
break;
}
if(eval("\x01") == 407)
{
set("\x01",eval("\x01") + 20);
}
else if(eval("\x01") == 723)
{
set("\x01",eval("\x01") - 296);
}
else if(eval("\x01") == 255)
{
set("\x01",eval("\x01") + 156);
§§push(eval(function §\x01\x02§()
{
return 16 % 511 * 5;
}));
}
else if(eval("\x01") == 132)
{
set("\x01",eval("\x01") + 822);
var §§pop() = function §\x01\x02§()
{
return 16 % 511 * 5;
};
}
else if(eval("\x01") == 954)
{
set("\x01",eval("\x01") - 699);
§§push("\x0f");
}
else
{
if(eval("\x01") != 253)
{
break;
}
set("\x01",eval("\x01") + 720);
if(function §\x01\x02§()
{
return 16 % 511 * 5;
})
{
set("\x01",eval("\x01") - 564);
}
}
}
}
}
}
}